FROM daocloud.io/library/tomcat:8.5.57-jdk8
WORKDIR /usr/local/tomcat/webapps
RUN rm -rf *
RUN mkdir ROOT
WORKDIR /usr/local/tomcat/webapps/ROOT
COPY air.war /usr/local/tomcat/webapps/ROOT
RUN jar -xvf air.war